package com.wl.operator;

public class Demo2 {
    public static void main(String[] args) {
        //短路运算
        int a = 5;
        boolean b = (a<4)&&(a++<4);
        System.out.println(b);
        //因为a<4始终为false，所以不会向后执行a++
        System.out.println(a);
    }
}
